<template>
  <starPage :config="pageConfig" v-debug="{ me, vms, models, dataSet }">
    <starTabs :config="tabConfig" @clickTab="changeTabs">
      <mainTable slot="0" :data="dataSet.mainData"></mainTable>
      <secondTable slot="1" :data="dataSet.secondData"></secondTable>
      <thirdTable slot="2" :data="dataSet.thirdData"></thirdTable>
      <fourthTable slot="3" :data="dataSet.fourthData"></fourthTable>
    </starTabs>
    <template #others>
      <createModal :dataSet="dataSet"></createModal>
      <editModal :dataSet="dataSet"></editModal>
      <detailModal :dataSet="dataSet"></detailModal>
    </template>
  </starPage>
</template>

<script>
import ancMixin from "./ancMixin";
export default {
  name: "",
  mixins: [ancMixin],
  data() {
    return {};
  },
  props: {},
  watch: {},
  computed: {
    pageConfig() {
      return {
        title: {
          "en-US": "",
          "zh-CN": "生产订单",
        }[this.G_Locale],
      };
    },
    tabConfig() {
      return {
        name: "record",
        style: { height: "100%" },
        tabs: [
          { label: "合批订单" },
          { label: "钨粉" },
          { label: "碳化钨" },
          { label: "库存订单" },
        ],
      };
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
